Optimal. Leaf size=67 \[ \frac {\, _2F_1\left (\frac {1}{4},-p;\frac {5}{4};-\frac {b \sin ^4(e+f x)}{a}\right ) \sin (e+f x) \left (a+b \sin ^4(e+f x)\right )^p \left (1+\frac {b \sin ^4(e+f x)}{a}\right )^{-p}}{f} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 67, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 3, integrand size = 21, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.143, Rules used = {3302, 252, 251}
\begin {gather*} \frac {\sin (e+f x) \left (a+b \sin ^4(e+f x)\right )^p \left (\frac {b \sin ^4(e+f x)}{a}+1\right )^{-p} \, _2F_1\left (\frac {1}{4},-p;\frac {5}{4};-\frac {b \sin ^4(e+f x)}{a}\right )}{f} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 251
Rule 252
Rule 3302
Rubi steps
\begin {align*} \int \cos (e+f x) \left (a+b \sin ^4(e+f x)\right )^p \, dx &=\frac {\text {Subst}\left (\int \left (a+b x^4\right )^p \, dx,x,\sin (e+f x)\right )}{f}\\ &=\frac {\left (\left (a+b \sin ^4(e+f x)\right )^p \left (1+\frac {b \sin ^4(e+f x)}{a}\right )^{-p}\right ) \text {Subst}\left (\int \left (1+\frac {b x^4}{a}\right )^p \, dx,x,\sin (e+f x)\right )}{f}\\ &=\frac {\, _2F_1\left (\frac {1}{4},-p;\frac {5}{4};-\frac {b \sin ^4(e+f x)}{a}\right ) \sin (e+f x) \left (a+b \sin ^4(e+f x)\right )^p \left (1+\frac {b \sin ^4(e+f x)}{a}\right )^{-p}}{f}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 67, normalized size = 1.00 \begin {gather*} \frac {\, _2F_1\left (\frac {1}{4},-p;\frac {5}{4};-\frac {b \sin ^4(e+f x)}{a}\right ) \sin (e+f x) \left (a+b \sin ^4(e+f x)\right )^p \left (1+\frac {b \sin ^4(e+f x)}{a}\right )^{-p}}{f} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.42, size = 0, normalized size = 0.00 \[\int \cos \left (f x +e \right ) \left (a +b \left (\sin ^{4}\left (f x +e \right )\right )\right )^{p}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.46, size = 35, normalized size = 0.52 \begin {gather*} {\rm integral}\left ({\left (b \cos \left (f x + e\right )^{4} - 2 \, b \cos \left (f x + e\right )^{2} + a + b\right )}^{p} \cos \left (f x + e\right ), x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 15.62, size = 64, normalized size = 0.96 \begin {gather*} \frac {\sin \left (e+f\,x\right )\,{\left (b\,{\sin \left (e+f\,x\right )}^4+a\right )}^p\,{{}}_2{\mathrm {F}}_1\left (\frac {1}{4},-p;\ \frac {5}{4};\ -\frac {b\,{\sin \left (e+f\,x\right )}^4}{a}\right )}{f\,{\left (\frac {b\,{\sin \left (e+f\,x\right )}^4}{a}+1\right )}^p} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________